home *** CD-ROM | disk | FTP | other *** search
/ PC Basics 53 / PC Basics Issue 53.iso / Software / Internet / Invboard.exe / PC Basics 53 / Invboard / upload / Skin / s1 / skin_mod.php < prev    next >
Encoding:
PHP Script  |  2002-06-12  |  17.9 KB  |  678 lines

  1. <?php
  2.  
  3. class skin_mod {
  4.  
  5.  
  6. function modtopicview_start($tid,$forumname, $fid, $title) {
  7. global $ibforums;
  8. return <<<EOF
  9.  
  10. <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  11.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  12.  <input type='hidden' name='act' value='ModCP'>
  13.  <input type='hidden' name='CODE' value='domodposts'>
  14.  <input type='hidden' name='f' value='{$fid}'>
  15.  <input type='hidden' name='tid' value='{$tid}'>
  16.  
  17. <tr>
  18.   <td colspan='2'>
  19.     <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
  20.      <tr>
  21.        <td><span id='pagetitle'>{$ibforums->lang['cp_mod_posts_title2']} $forumname</span>
  22.        <br>$pages
  23.        </td>
  24.      </tr>
  25.     <tr>
  26.      <td colspan='2'>
  27.       <table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
  28.         <tr>
  29.             <td valign='middle' id='titlemedium' align='left' colspan='2'>$title</td>
  30.         </tr>
  31.                 
  32. EOF;
  33. }
  34.  
  35.  
  36. function modpost_topicstart($forumname, $fid) {
  37. global $ibforums;
  38. return <<<EOF
  39.  
  40. <tr>
  41.   <td colspan='2'>
  42.     <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
  43.      <tr>
  44.        <td><span id='pagetitle'>{$ibforums->lang['cp_mod_posts_title2']} $forumname</span>
  45.        </td>
  46.      </tr>
  47.      <tr>
  48.      <td>
  49.       <table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
  50.       <tr>
  51.         <td id='titlemedium' width='40%'>{$ibforums->lang['cp_3_title']}</td>
  52.         <td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_replies']}</td>
  53.         <td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_approveall']}</td>
  54.         <td id='titlemedium' width='20%' align='center'>{$ibforums->lang['cp_3_viewall']}</td>
  55.       </tr>
  56.      
  57. EOF;
  58. }
  59.  
  60. function modpost_topicentry($title, $tid, $replies, $fid) {
  61. global $ibforums;
  62. return <<<EOF
  63.  
  64.       <tr>
  65.         <td id='row1' width='40%' align='left'><b><a href='{$ibforums->base_url}&act=ST&f=$fid&t=$tid' target='_blank'>$title</a></b></td>
  66.         <td id='row1' width='20%' align='center'>$replies</td>
  67.         <td id='row1' width='20%' align='center'><a href='{$ibforums->base_url}&act=ModCP&f=$fid&tid=$tid&CODE=modtopicapprove'>{$ibforums->lang['cp_3_approveall']}</a></td>
  68.         <td id='row1' width='20%' align='center'><a href='{$ibforums->base_url}&act=ModCP&f=$fid&tid=$tid&CODE=modtopicview'>{$ibforums->lang['cp_3_viewall']}</a></td>
  69.       </tr>
  70.      
  71. EOF;
  72. }
  73.  
  74. function modpost_topicend() {
  75. global $ibforums;
  76. return <<<EOF
  77.  
  78.       </table>
  79.      </td>
  80.     </tr>
  81.    </table>
  82.   </td>
  83.  </tr>
  84.      
  85. EOF;
  86. }
  87.  
  88.  
  89.  
  90. function modtopics_start($pages,$forumname, $fid) {
  91. global $ibforums;
  92. return <<<EOF
  93.  
  94. <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  95.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  96.  <input type='hidden' name='act' value='ModCP'>
  97.  <input type='hidden' name='CODE' value='domodtopics'>
  98.  <input type='hidden' name='f' value='{$fid}'>
  99.  
  100. <tr>
  101.   <td colspan='2'>
  102.     <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
  103.      <tr>
  104.        <td><span id='pagetitle'>{$ibforums->lang['cp_mod_topics_title2']} $forumname</span>
  105.        <br>$pages
  106.        </td>
  107.      </tr>
  108.      
  109. EOF;
  110. }
  111.  
  112. function modtopics_end() {
  113. global $ibforums;
  114. return <<<EOF
  115.  
  116.     <tr>
  117.      <td id='row2' align='center'><select name='type' class='forminput'><option value='approve'>{$ibforums->lang['cp_1_approve']}</option><option value='remove'>{$ibforums->lang['cp_1_remove']}</option></select>  {$ibforums->lang['cp_1_selected']}  <input type='submit' value='{$ibforums->lang['cp_1_go']}' class='forminput'></td>
  118.     </tr>
  119.     </table>
  120.    </td>
  121.   </tr>
  122.   </form>
  123.      
  124. EOF;
  125. }
  126.  
  127.  
  128. function mod_topic_title($title, $topic_id) {
  129. global $ibforums;
  130. return <<<EOF
  131.  
  132.             <tr>
  133.              <td colspan='2'>
  134.               <table width='100%' cellpadding='4' cellspacing='1' bgcolor='{$ibforums->skin['tbl_border']}'>
  135.                 <tr>
  136.                     <td valign='middle' id='titlemedium' align='left' colspan='2'><input type='checkbox' name='TID_$topic_id' value='1'>   $title</td>
  137.                 </tr>
  138.                 
  139. EOF;
  140. }
  141.  
  142.  
  143. function mod_postentry($data) {
  144. global $ibforums;
  145. return <<<EOF
  146.             
  147.                 <tr>
  148.                     <td valign='top' id='row1' width='25%'><span id='normalname'>{$data['member']['name']}</span><br><br>{$data['member']['avatar']}<span id='postdetails'><br>{$data['member']['MEMBER_GROUP']}<br>{$data['member']['MEMBER_POSTS']}<br>{$data['member']['MEMBER_JOINED']}</span></td>
  149.                     <td valign='top' height='100%' id='row1' width='75%'>
  150.                         <b>{$ibforums->lang['posted_on']} {$data['msg']['post_date']}</b><br><br>
  151.                         <span id='postcolor'>
  152.                             {$data['msg']['post']}
  153.                         </span>
  154.                     </td>
  155.                  </tr>
  156.               
  157.  
  158. EOF;
  159. }
  160.  
  161. function mod_postentry_checkbox($pid) {
  162. global $ibforums;
  163. return <<<EOF
  164.  
  165.             <tr>
  166.              <td align='left' colspan='2' id='category'><input type='checkbox' name='PID_$pid' value='1'>  {$ibforums->lang['cp_3_postno']} $pid</td>
  167.             </tr>
  168.  
  169. EOF;
  170. }
  171.  
  172.  
  173. function mod_topic_spacer() {
  174. global $ibforums;
  175. return <<<EOF
  176.  
  177.             </table>
  178.             </td>
  179.             </tr>
  180.             <tr>
  181.              <td colspan='2'>
  182.                
  183.             </td>
  184.             </tr>
  185.  
  186. EOF;
  187. }
  188.  
  189. function results($text) {
  190. global $ibforums;
  191. return <<<EOF
  192.  
  193. <tr>
  194.   <td colspan='2'>
  195.     <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
  196.      <tr>
  197.        <td><span id='pagetitle'>{$ibforums->lang['cp_results']}</span>
  198.        </td>
  199.      </tr>
  200.       <tr>
  201.         <td colspan='2'><b>$text</b></td>
  202.       </tr>
  203.      </table>
  204.    </td>
  205.   </tr>
  206.  
  207. EOF;
  208. }
  209.  
  210.  
  211. function prune_confirm($tcount, $count, $link, $link_text) {
  212. global $ibforums;
  213. return <<<EOF
  214.  
  215. <tr>
  216.   <td colspan='2'>
  217.     <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder' align='center'>
  218.      <tr>
  219.        <td><span id='pagetitle'>{$ibforums->lang['cp_check_result']}</span>
  220.            <br>{$ibforums->lang['cp_check_text']}
  221.        </td>
  222.      </tr>
  223.       <tr>
  224.         <td><b>{$ibforums->lang['cp_total_topics']}</b></td>
  225.         <td>$tcount</td>
  226.       </tr>
  227.       <tr>
  228.         <td><b><span style='color:red'>{$ibforums->lang['cp_total_match']}</span></b></td>
  229.         <td><span style='color:red'>$count</span></td>
  230.       </tr>
  231.       <tr>
  232.         <td colspan='2' align='center' id='row2'><b><a href='{$ibforums->base_url}$link'>$link_text</a></b></td>
  233.       </tr>
  234.      </table>
  235.    </td>
  236.   </tr>
  237.  
  238. EOF;
  239. }
  240.  
  241. function prune_splash($forum, $forums, $select) {
  242. global $ibforums;
  243. return <<<EOF
  244.  
  245.  <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  246.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  247.  <input type='hidden' name='act' value='ModCP'>
  248.  <input type='hidden' name='CODE' value='prune'>
  249.  <input type='hidden' name='f' value='{$forum['id']}'>
  250.  <input type='hidden' name='check' value='1'>
  251.  
  252.  <!-- IBF.CONFIRM -->
  253.  
  254.  <tr>
  255.   <td colspan='2' id='pagetitle'>{$ibforums->lang['cp_prune']} {$forum['name']}</td>
  256.  </tr>
  257.  <tr>
  258.   <td colspan='2'>{$ibforums->lang['cp_prune_text']}</td>
  259.  </tr>
  260.  
  261.  <tr>
  262.   <td width='40%' id='row2'>{$ibforums->lang['cp_action']}</td>
  263.   <td id='row2'><select name='df' class='forminput'>$forums</select></td>
  264.  </tr>
  265.  
  266.  <tr>
  267.   <td width='40%'>{$ibforums->lang['cp_prune_days']}</td>
  268.   <td><input type='text' size='40' name='dateline' value='{$ibforums->input['dateline']}' class='forminput'></td>
  269.  </tr>
  270.  
  271.  <tr>
  272.   <td width='40%'>{$ibforums->lang['cp_prune_type']}</td>
  273.   <td>$select</td>
  274.  </tr>
  275.  
  276.  <tr>
  277.   <td width='40%'>{$ibforums->lang['cp_prune_replies']}</td>
  278.   <td><input type='text' size='40' name='posts' value='{$ibforums->input['posts']}' class='forminput'></td>
  279.  </tr>
  280.  
  281.  <tr>
  282.   <td width='40%'>{$ibforums->lang['cp_prune_member']}</td>
  283.   <td><input type='text' size='40' name='member' value='{$ibforums->input['member']}' class='forminput'></td>
  284.  </tr>
  285.  <tr>
  286.   <td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_prune_sub1']}' class='forminput'></td>
  287.  </tr>
  288.  </form>
  289.  
  290. EOF;
  291. }
  292.  
  293.  
  294.  
  295.  
  296. function edit_user_form($profile) {
  297. global $ibforums;
  298. return <<<EOF
  299.  
  300.  <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  301.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  302.  <input type='hidden' name='act' value='ModCP'>
  303.  <input type='hidden' name='CODE' value='compedit'>
  304.  <input type='hidden' name='f' value='{$ibforums->input['f']}'>
  305.  <input type='hidden' name='memberid' value='{$profile['id']}'>
  306.  <tr>
  307.   <td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}: {$profile['name']}</td>
  308.  </tr>
  309.  <tr>
  310.   <td width='40%'>{$ibforums->lang['cp_remove_av']}</td>
  311.   <td><select name='avatar' class='forminput'><option value='0'>{$ibforums->lang['no']}</option><option value='1'>{$ibforums->lang['yes']}</option></select></td>
  312.  </tr>
  313.  
  314.  <tr>
  315.   <td width='40%'>{$ibforums->lang['cp_edit_website']}</td>
  316.   <td><input type='text' size='40' name='website' value='{$profile['website']}' class='forminput'></td>
  317.  </tr>
  318.  
  319.  <tr>
  320.   <td width='40%'>{$ibforums->lang['cp_edit_location']}</td>
  321.   <td><input type='text' size='40' name='location' value='{$profile['location']}' class='forminput'></td>
  322.  </tr>
  323.  
  324.  <tr>
  325.   <td width='40%'>{$ibforums->lang['cp_edit_interests']}</td>
  326.   <td><textarea cols='50' rows='3' name='interests' class='forminput'>{$profile['interests']}</textarea></td>
  327.  </tr>
  328.  
  329.   <tr>
  330.   <td width='40%'>{$ibforums->lang['cp_edit_signature']}</td>
  331.   <td><textarea cols='50' rows='5' name='signature' class='forminput'>{$profile['signature']}</textarea></td>
  332.  </tr>
  333.  
  334.  <tr>
  335.   <td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_2_submit']}' class='forminput'></td>
  336.  </tr>
  337.  </form>
  338.  
  339. EOF;
  340. }
  341.  
  342.  
  343. function find_two($select) {
  344. global $ibforums;
  345. return <<<EOF
  346.  
  347.  <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  348.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  349.  <input type='hidden' name='act' value='ModCP'>
  350.  <input type='hidden' name='CODE' value='doedituser'>
  351.  <input type='hidden' name='f' value='{$ibforums->input['f']}'>
  352.  <tr>
  353.   <td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}</td>
  354.  </tr>
  355.  <tr>
  356.   <td width='40%'>{$ibforums->lang['cp_find_2_user']}</td>
  357.   <td>$select</td>
  358.  </tr>
  359.  <tr>
  360.   <td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_2_submit']}' class='forminput'></td>
  361.  </tr>
  362.  </form>
  363.  
  364. EOF;
  365. }
  366.  
  367.  
  368. function find_user() {
  369. global $ibforums;
  370. return <<<EOF
  371.  
  372.  <form name='ibform' action='{$ibforums->base_url}' method='POST'>
  373.  <input type='hidden' name='s' value='{$ibforums->session_id}'>
  374.  <input type='hidden' name='act' value='ModCP'>
  375.  <input type='hidden' name='CODE' value='dofinduser'>
  376.  <input type='hidden' name='f' value='{$ibforums->input['f']}'>
  377.  <tr>
  378.   <td colspan='2' id='pagetitle'>{$ibforums->lang['cp_edit_user']}</td>
  379.  </tr>
  380.  <tr>
  381.   <td width='40%'>{$ibforums->lang['cp_find_user']}</td>
  382.   <td><input type='text' size='40' name='name' value='' class='forminput'></td>
  383.  </tr>
  384.  <tr>
  385.   <td colspan='2' align='center'><input type='submit' value='{$ibforums->lang['cp_find_submit']}' class='forminput'></td>
  386.  </tr>
  387.  </form>
  388.  
  389. EOF;
  390. }
  391.  
  392.  
  393. function splash($tcount, $pcount, $forum) {
  394. global $ibforums;
  395. return <<<EOF
  396.  
  397.  <tr>
  398.   <td id='pagetitle'>{$ibforums->lang['cp_welcome']}</td>
  399.  </tr>
  400.  <tr>
  401.   <td>{$ibforums->lang['cp_welcome_text']}</td>
  402.  </tr>
  403.  <tr>
  404.   <td>
  405.     <table cellpadding='2' cellspacing='1' border='0' width='75%' id='fancyborder' align='center'>
  406.       <tr>
  407.         <td><b>{$ibforums->lang['cp_mod_in']}</b></td>
  408.         <td>$forum</td>
  409.       </tr>
  410.       <tr>
  411.         <td><b>{$ibforums->lang['cp_topics_wait']}</b></td>
  412.         <td>$tcount</td>
  413.       </tr>
  414.       <tr>
  415.         <td><b>{$ibforums->lang['cp_posts_wait']}</b></td>
  416.         <td>$pcount</td>
  417.       </tr>
  418.      </table>
  419.    </td>
  420.   </tr>
  421.  
  422. EOF;
  423. }
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431. function mod_exp($words) {
  432. global $ibforums;
  433. return <<<EOF
  434.  
  435.  
  436.  
  437.                 <tr>
  438.                 <td id='row1' colspan='2'>$words</td>
  439.                 </tr>
  440.  
  441.  
  442. EOF;
  443. }
  444.  
  445. function end_form($action) {
  446. global $ibforums;
  447. return <<<EOF
  448.  
  449.  
  450.                 <tr>
  451.                 <td id='row2' align='center' colspan='2'>
  452.                 <input type="submit" name="submit" value="$action" class='forminput'>
  453.                 </td></tr></table>
  454.                 </td></tr></table>
  455.                 </form>
  456.  
  457.  
  458. EOF;
  459. }
  460.  
  461. function move_form($jhtml, $forum_name) {
  462. global $ibforums;
  463. return <<<EOF
  464.  
  465.  
  466.                 <tr>
  467.                 <td id='row1'>{$ibforums->lang[move_from]} <b>$forum_name</b> {$ibforums->lang[to]}:</td>
  468.                 <td id='row1'><select name='move_id' class='forminput'>$jhtml</select></td>
  469.                 </tr>
  470.                 <tr>
  471.                 <td id='row1'><b>{$ibforums->lang['leave_link']}</b></td>
  472.                 <td id='row1'>
  473.                   <select name='leave' class='forminput'>
  474.                   <option value='y'  selected>{$ibforums->lang['yes']}</option>
  475.                   <option value='n'>{$ibforums->lang['no']}</option>
  476.                   </select>
  477.                 </td>
  478.                 </tr>
  479.  
  480.  
  481. EOF;
  482. }
  483.  
  484. function delete_js() {
  485. global $ibforums;
  486. return <<<EOF
  487.  
  488.           <script language='JavaScript'>
  489.           <!--
  490.           function ValidateForm() {
  491.              document.REPLIER.submit.disabled = true;
  492.              return true;
  493.           }
  494.           //-->
  495.           </script>
  496.           
  497. EOF;
  498. }
  499.  
  500. function topictitle_fields($title, $desc) {
  501. global $ibforums;
  502. return <<<EOF
  503.  
  504.  
  505.                 <tr>
  506.                 <td id='row1'><b>{$ibforums->lang[edit_f_title]}</b></td>
  507.                 <td id='row1'><input type='text' size='40' maxlength='50' name='TopicTitle' value='$title'></td>
  508.                 </tr>
  509.                 <tr>
  510.                 <td id='row1'><b>{$ibforums->lang[edit_f_desc]}</b></td>
  511.                 <td id='row1'><input type='text' size='40' maxlength='40' name='TopicDesc' value='$desc'></td>
  512.                 </tr>
  513.  
  514.  
  515. EOF;
  516. }
  517.  
  518. function poll_entry($id, $entry) {
  519. global $ibforums;
  520.  
  521. return <<<EOF
  522.  
  523.                 <tr>
  524.                 <td id='row1'><b>{$ibforums->lang['pe_option']} $id</b></td>
  525.                 <td id='row1'><input type='text' size='60' maxlength='250' name='POLL_$id' value='$entry'></td>
  526.                 </tr>
  527.                 
  528. EOF;
  529.  
  530. }
  531.  
  532.  
  533. function poll_select_form() {
  534. global $ibforums;
  535.  
  536. return <<<EOF
  537.  
  538.                 <tr>
  539.                 <td id='row1'><b>{$ibforums->lang['pe_pollonly']} $id</b></td>
  540.                 <td id='row1'><select name='pollonly' class='forminput'><option value='0'>{$ibforums->lang['pe_no']}</option><option value='1'>{$ibforums->lang['pe_yes']}</option></select></td>
  541.                 </tr>
  542.                 
  543. EOF;
  544.  
  545. }
  546.  
  547.  
  548. function table_top($posting_title) {
  549. global $ibforums;
  550. return <<<EOF
  551.  
  552.      <table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  553.         <tr>
  554.             <td>
  555.                 <table cellpadding='5' cellspacing='1' border='0' width='100%'>
  556.                 <tr>
  557.                 <td valign='left' colspan='2' id='titlemedium'>$posting_title</td>
  558.                 </tr>
  559.  
  560.  
  561. EOF;
  562. }
  563.  
  564.  
  565. function forum_jump($data, $menu_extra="") {
  566.  
  567. global $ibforums;
  568. return <<<EOF
  569.  
  570. <br>
  571. <table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
  572.     <tr>
  573.         <td align='right'>{$data}</td>
  574.     </tr>
  575. </table>
  576. <br>
  577. EOF;
  578.  
  579. }
  580.  
  581. function Menu_bar($base_url, $fid) {
  582. global $ibforums;
  583. return <<<EOF
  584.  
  585.     <br>
  586.      <table cellpadding='0' cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  587.         <tr>
  588.            <td>
  589.               <table cellpadding='2' cellspacing='1' border='0' width='100%'>
  590.               <tr>
  591.                <td width='20%' id='titlemedium'> </td>
  592.                <td width='80%' id='titlemedium'> </td>
  593.               </tr>
  594.                <td id='row1' valign='top'>
  595.                
  596.                 <!-- Moderate Topics -->
  597.                 
  598.                 <table cellpadding='2' cellspacing='1' border='0' width='100%' id='fancyborder'>
  599.                  <tr>
  600.                    <td id='title'><b>{$ibforums->lang['cp_mod_topics_title']}</b></td>
  601.                  </tr>
  602.                  <tr>
  603.                    <td id='row1'><a href='{$base_url}&act=ModCP&CODE=modtopics&f=$fid'>{$ibforums->lang['cp_mod_topics']}</a></td>
  604.                  </tr>
  605.                    <td id='row1'><a href='{$base_url}&act=ModCP&CODE=modposts&f=$fid'>{$ibforums->lang['cp_mod_posts']}</a></td>
  606.                  </tr>
  607.                 </table>
  608.                 
  609.                 <!-- Manage Topics -->
  610.                 
  611.                 <br>
  612.                 
  613.                 <table cellpadding='2' cellspacing='1' border='0' width='100%'  id='fancyborder'>
  614.                  <tr>
  615.                    <td id='title'><b>{$ibforums->lang['cp_manage_posts']}</b></td>
  616.                  </tr>
  617.                  <tr>
  618.                    <td id='row1'><a href='{$base_url}&act=ModCP&CODE=prune&f=$fid'>{$ibforums->lang['cp_prune_posts']}</a></td>
  619.                  </tr>
  620.                 </table>
  621.                 
  622.                 <!-- Manage Users -->
  623.                 
  624.                 <br>
  625.                 
  626.                 <table cellpadding='2' cellspacing='1' border='0' width='100%'  id='fancyborder'>
  627.                  <tr>
  628.                    <td id='title'><b>{$ibforums->lang['cp_mod_users_title']}</b></td>
  629.                  </tr>
  630.                  <tr>
  631.                    <td id='row1'><a href='{$base_url}&act=ModCP&CODE=edituser&f=$fid'>{$ibforums->lang['cp_user_edit']}</a></td>
  632.                  </tr>
  633.                 </table>
  634.                 
  635.                </td>
  636.                <td id='row1' valign='top'>
  637.                <table cellpadding='4' cellspacing='1' border='0' width='100%'>
  638.                  <!-- Start main CP area -->
  639.                
  640.                
  641.                
  642. EOF;
  643. }
  644.  
  645.  
  646. function CP_end() {
  647. global $ibforums;
  648. return <<<EOF
  649.  
  650.           <!-- end main CP area -->
  651.          </table>
  652.         </td>
  653.        </tr>
  654.     </table></td></tr></table>
  655.  
  656.  
  657.  
  658. EOF;
  659. }
  660.  
  661. function mod_error($msg="") {
  662. global $ibforums;
  663. return <<<EOF
  664.  
  665.  <tr>
  666.   <td id='pagetitle'>{$ibforums->lang['cp_error']}</td>
  667.  </tr>
  668.  <tr>
  669.   <td>$msg</td>
  670.  </tr>
  671.  
  672. EOF;
  673. }
  674.  
  675.  
  676.     } // end class
  677.  
  678. ?>